package com.bieyang.anjia.ui.activity;

import com.bieyang.anjia.module.TNewVerInfo;
import com.bieyang.anjia.net.NetManager;
import com.bieyang.anjia.utils.SubUtils;

import cn.jpush.android.api.JPushInterface;
import android.app.Application;
import android.content.Context;
import android.util.Log;

public class App extends Application {
	public static String uuid ;
	public static boolean newAlarm = false;
	public static boolean isFirstGetDev = true;
	public static Context mContext;
	public static NetManager netManager = new NetManager();
	public static boolean screenStates; // false ；亮屏
	public static int isFirstVideo = 0;// 第一次使用实时观看
	public static int isFirstJiankong = 0;// 第一次进入监控机
	public static boolean isLogin = false;
	public static boolean isrun = true;
	private static final String TAG = "JPush";

	public static int shareIndex = 0;

	public static boolean newNews;
	
	public static  TNewVerInfo verinfo=new TNewVerInfo();

	@Override
	public void onCreate() {
		Log.d(TAG, "[ExampleApplication] onCreate");
		super.onCreate();

		JPushInterface.setDebugMode(true); // 设置开启日志,发布时请关闭日志
		JPushInterface.init(this); // 初始化 JPush
		uuid=SubUtils.getUuid(this);
	}
}
